package cqrtplm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName RT_CHANGEAFFECT_PARTINVENTORY
 */
@TableName(value = "RT_CHANGEAFFECT_PARTINVENTORY")
@Data
public class RtChangeaffectPartinventoryDO implements Serializable {
    /**
     *
     */
    @TableField(value = "CHANGENO")
    private String changeno;

    @TableField(value = "MATERIALCODE")
    private String materialcode;
    /**
     *
     */
    @TableField(value = "PARTNO")
    private String partno;

    @TableField(value = "PARTTYPE")
    private String parttype;
    /**
     *
     */
    @TableField(value = "PARTNAME")
    private String partname;

    /**
     *
     */
    @TableField(value = "ONWAYINVENTORY")
    private String onwayinventory;

    /**
     *
     */
    @TableField(value = "INPUTINVENTORY")
    private String inputinventory;

    /**
     *
     */
    @TableField(value = "FACTORY")
    private String factory;

    /**
     *
     */
    @TableField(value = "SUPPLIER")
    private String supplier;

    /**
     *
     */
    @TableField(value = "CREATEDATE")
    private String createdate;

    /**
     *
     */
    @TableField(value = "CREATEBY")
    private String createBy;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public String getChangeno() {
        return changeno;
    }

    public void setChangeno(String changeno) {
        this.changeno = changeno;
    }

    public String getMaterialcode() {
        return materialcode;
    }

    public void setMaterialcode(String materialcode) {
        this.materialcode = materialcode;
    }

    public String getPartno() {
        return partno;
    }

    public void setPartno(String partno) {
        this.partno = partno;
    }

    public String getPartname() {
        return partname;
    }

    public void setPartname(String partname) {
        this.partname = partname;
    }

    public String getOnwayinventory() {
        return onwayinventory;
    }

    public void setOnwayinventory(String onwayinventory) {
        this.onwayinventory = onwayinventory;
    }

    public String getInputinventory() {
        return inputinventory;
    }

    public void setInputinventory(String inputinventory) {
        this.inputinventory = inputinventory;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getParttype() {
        return parttype;
    }

    public void setParttype(String parttype) {
        this.parttype = parttype;
    }

    public RtChangeaffectPartinventoryDO(String changeno, String materialcode, String parttype, String partno,
                                         String partname,
                                         String onwayinventory, String inputinventory, String factory, String supplier,
                                         String createBy) {
        this.changeno = changeno;
        this.materialcode = materialcode;
        this.partno = partno;
        this.partname = partname;
        this.onwayinventory = onwayinventory;
        this.inputinventory = inputinventory;
        this.factory = factory;
        this.supplier = supplier;
        this.parttype = parttype;
        this.createBy = createBy;
    }

    public RtChangeaffectPartinventoryDO(String changeno, String partno) {
        this.changeno = changeno;
        this.partno = partno;
    }
}